//
//  WWPullDownButtonView.h
//  YiQiTingShu
//
//  Created by WeiWei on 15/11/3.
//  Copyright © 2015年 直到世界的尽头. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "PublicHeader.h"
#import "WHNCollectionViewCell.h"

@protocol WWPullDelegate <NSObject>

-(void)didSelectionPullButton:(NSInteger)number;

@end

@interface WWPullDownButtonView : UIView

@property(nonatomic, strong)UILabel *titleLabel;
@property(nonatomic, strong)NSArray *dataSource;
@property(nonatomic, strong)UIView *controllerView;
@property(nonatomic, assign)CGFloat backView_Height;
@property(nonatomic, strong)UIView *supTableView;
@property(nonatomic, assign)id<WWPullDelegate> delegate;
- (instancetype)initWithFrame:(CGRect)frame
                   WithTitle:(NSString *)title
               WithInfoArray:(NSArray *)array
               WithSuperView:(UIView *)view
                  WithHeight:(CGFloat)height
             WithSupTableView:(UIView *)tableView;

-(void)changeDataSource:(NSArray *)dataSource;

@end
